package com.example.easyexcel.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.easyexcel.domain.Archive;
import com.example.easyexcel.mapper.ArchiveMapper;
import com.example.easyexcel.service.ArchiveService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author wangnian
 * @description 针对表【archive】的数据库操作Service实现
 * @createDate 2025-03-05 09:57:44
 */
@Service
public class ArchiveServiceImpl extends ServiceImpl<ArchiveMapper, Archive>
        implements ArchiveService {

    @Resource
    private ArchiveMapper archiveMapper;

    @Override
    public List<Archive> selectByGtDhWithLimit(String lastMaxDh, int pageSize) {
        return archiveMapper.selectByGtDhWithLimit(lastMaxDh, pageSize);
    }
}




